package com.easylinkin.linkappapi.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author chenyin
 * @date 2024/02/18
 */
@Getter
@Setter
@TableName(value = "sys_dict_item", autoResultMap = true)
public class SysDictItem {
    /**
     * 字典id
     */
    @TableField("dict_id_")
    private Long dictId;
    /**
     * 字典项文本
     */
    @TableField("item_text_")
    private String itemText;
    /**
     * 字典项值
     */
    @TableField("item_value_")
    private String itemValue;
    /**
     * 描述
     */
    @TableField("description_")
    private String description;
    /**
     * 排序
     */
    @TableField("sort_order_")
    private Integer sortOrder;
    /**
     * 状态（1启用 0不启用）
     */
    @TableField("status_")
    private Integer status;
    /**
     * 是否同步
     */
    @TableField("is_sync_")
    private Boolean isSync;

    @TableId(value = "id_", type = IdType.AUTO)
    private Long id;

    @TableField("create_id_")
    private Long createId;

    @TableField("create_time_")
    private Date createTime;

    @TableField("update_id_")
    private Long updateId;

    @TableField("update_time_")
    private Date updateTime;


}